from django.contrib import admin
from django.urls import path, include
from RouteManage import views

urlpatterns = [
    path('getRoutes', views.getRoutes, name='getRoutes'),
    path('changeState', views.changeState, name='changeState'),
    path('addNewRoute', views.addNewRoute, name='addNewRoute'),
    path('addRota', views.addRota, name='addRota'),
    path('addRecord', views.addRecord, name='addRecord'),
    path('deleteRota', views.deleteRota, name='deleteRota'),
    path('deleteRoute', views.deleteRoute, name='deleteRoute'),
    path('addStation', views.addStation, name='addStation'),
    path('deleteStation', views.deleteStation, name='deleteStation'),
    path('getStations', views.getStations, name='getStations'),
    path('changeSteps', views.changeSteps, name='changeSteps'),
    path('getFree', views.getFree, name='getFree'),
    path('getRota', views.getRota, name='getRota'),
    path('modifyRota', views.modifyRota, name='modifyRota'),
    path('rotaFinish', views.rotaFinish, name='rotaFinish'),
    path('getService', views.getService, name='getService'),
]
